{if $_username}{L('hellow')} {get_nickname()}, <a href="{SITE_URL}index.php?app=member" target="_blank">{L('member_center')}</a> <a href="{SITE_URL}index.php?app=member&controller=index&action=logout&forward={urlencode($_GET['forward'])}" target="_top">{L('logout')}</a>
{else} 
<span class="r"><a href="{U('member/passport/register')}" target="_blank">{L('register')}</a> <span>|</span> <a href="{U('member/passport/login',array('forward'=>urlencode($_GET['forward'])))}" target="_top">{L('login')}</a></span>
{/if}
